-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Endpoints to get a list of assets which overlap a point, box, or quadkey #351
Conversation
for asset_list in [mosaic.assets_for_tile(*t) for t in tiles] | ||
for asset in asset_list | ||
} | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
thanks @mackdelany everything looks good to me 🙏
mercantile is already a dependency for cogeo-mosaic so this is totally fine. The major blocker for us to remove it, is to add quadkey method to morecantile (developmentseed/morecantile#19). |
@mackdelany Before we merge this PR here is what we need:
|
Great, thanks @vincentsarago 👌 🥳 I've updated the changelog, docs and Let me if any changes are needed / anything else you need from me! |
🙏 thanks @mackdelany, everything is perfect |
Background for this PR can be found here: #350
This PR adds three new endpoints to Titiler:
Each endpoint returns a list of cogs which overlap the geometries given, e.g:
Re: mercantile
I believe this PR adds mercantile as a dependency, I am happy to change this if desired! I'm used to mercantile + saw it used in some of the notebooks (so I assumed it might be ok to use). If we'd like to remove mercantile as a dependency I can do one of the following:
And of course - happy to make any other changes / edits desired